package com.tengju.user.domain.model.chief;

import com.tengju.user.domain.model.department.DepartmentId;
import com.tengju.user.domain.model.user.UserIdCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 大木
 * @date 2021/12/24
 */
@Getter
@AllArgsConstructor
public class ChiefGenSecRelation {

    ChiefId chiefId;

    String chiefName;

    String chiefNickname;

    UserIdCode genSecIdCode;

    ChiefSecRelationType chiefSecRelationType;

    DepartmentId departmentId;

    String departmentName;

    ChiefId departmentLeaderId;

    String departmentLeaderName;

    String createBy;

    String updateBy;

    public ChiefGenSecRelation(ChiefId chiefId, UserIdCode genSecIdCode, String createBy, String updateBy){
        this.chiefId = chiefId;
        this.genSecIdCode = genSecIdCode;
        this.createBy = createBy;
        this.updateBy = updateBy;
    }

    public ChiefGenSecRelation(ChiefId chiefId, String chiefName, String chiefNickname, DepartmentId departmentId, String departmentName, ChiefId departmentLeaderId, String departmentLeaderName, ChiefSecRelationType chiefSecRelationType){
        this.chiefId = chiefId;
        this.chiefName = chiefName;
        this.chiefNickname = chiefNickname;
        this.departmentId = departmentId;
        this.chiefSecRelationType = chiefSecRelationType;
        this.departmentName = departmentName;
        this.departmentLeaderId = departmentLeaderId;
        this.departmentLeaderName = departmentLeaderName;
    }

}
